import axios from 'axios'

export default {
  url: '/admin/hosp/hospitalSet',

  getHospitalSetListPage (current, limit, para) {
    return axios.post(`${this.url}/findPageHospSet/${current}/${limit}`, para)
  },
  batchRemoveHospitalSet (para) {
    return axios.delete(`${this.url}/batchRemove?idList=${para}`)
  },
  removeHospitalSet (id) {
    return axios.delete(`${this.url}/${id}`)
  },
  editHospitalSet (para) {
    return axios.post(`${this.url}/updateHospitalSet`, para)
  },
  lockHospitalSet (id, status) {
    return axios.put(`${this.url}/lockHospitalSet/${id}/${status}`)
  },

}